package com.ruoyi;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.ApplicationContext;

/**
 * 启动程序
 * 
 * @author ruoyi
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@MapperScan(basePackages = {"com.ruoyi.project.**.mapper"})
@EnableCaching
public class RuoYiApplication
{
    public static void main(String[] args)
    {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        ApplicationContext applicationContext = SpringApplication.run(RuoYiApplication.class, args);
//        CommonParaTool.init(applicationContext);
        System.out.println("               事后监督系统启动成功       \n" +
                ".d88888ba   88        88         88 88888888ba,     \n" +
                "48`     `8b 88        88         88 88      ``8b    \n" +
                "48,         88        88         88 88        `8b   \n" +
                "`1Y8aaaaa,  88aaaaaaaa88         88 88         88   \n" +
                "  ``````8b, 88````````88         88 88         88   \n" +
                "`        8b 88        88         88 88         8P   \n" +
                "Y8a     a8P 88        88 88,   ,d88 88      .a8P    \n" +
                " `Y88888P`  88        88  `Y8888P`  88888888Y`      ");

//        System.out.println("(♥◠‿◠)ﾉﾞ  若依启动成功   ლ(´ڡ`ლ)ﾞ  \n" +
//                " .-------.       ____     __        \n" +
//                " |  _ _   \\      \\   \\   /  /    \n" +
//                " | ( ' )  |       \\  _. /  '       \n" +
//                " |(_ o _) /        _( )_ .'         \n" +
//                " | (_,_).' __  ___(_ o _)'          \n" +
//                " |  |\\ \\  |  ||   |(_,_)'         \n" +
//                " |  | \\ `'   /|   `-'  /           \n" +
//                " |  |  \\    /  \\      /           \n" +
//                " ''-'   `'-'    `-..-'              ");
    }
}